package com.digitalchina.lxnsy.entity;

import com.bigkoo.pickerview.model.IPickerViewData;

import java.io.Serializable;
import java.util.List;

/**
 * ================================================
 * 项目名称：bigdata
 * 类描述：
 * 包名：com.digitalchina.bigdata.entity
 * 创建人：郑皓
 * 创建时间：2016/12/24 14:25
 * 修改备注：
 * ================================================
 */

public class TestVO implements Serializable, IPickerViewData {

    private int index;
    private String name;
    private String num;
    private String type;
    private String area;
    private String tel;
    private String time;
    private Boolean status;
    private List<TestVO> childrenList;


    public TestVO() {
    }

    public TestVO(String name) {
        this.name = name;
    }

    public TestVO(int index) {
        this.index = index;
    }

    public TestVO(String name, String tel) {
        this.name = name;
        this.tel = tel;
    }

    public TestVO(String name, int index) {
        this.name = name;
        this.index = index;
    }

    public TestVO(String type, String area, String num) {
        this.type = type;
        this.area = area;
        this.num = num;
    }


    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public List<TestVO> getChildrenList() {
        return childrenList;
    }

    public void setChildrenList(List<TestVO> childrenList) {
        this.childrenList = childrenList;
    }

    @Override
    public String getPickerViewText() {
        return name;
    }
}
